package com.beimin.evedata.model.inv;

import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

/**
 *
 * @author Candle
 */
@Embeddable
public class InvTypeMaterialID implements Serializable {
	@ManyToOne
	@JoinColumn(name="typeID")
	private InvType type;
	@ManyToOne
	@JoinColumn(name="materialTypeID")
	private InvType materialType;

  public InvType getMaterialType() {
    return materialType;
  }

  public void setMaterialType(InvType materialType) {
    this.materialType = materialType;
  }

  public InvType getType() {
    return type;
  }

  public void setType(InvType type) {
    this.type = type;
  }
}
